package com.fxc.config;

import com.fxc.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@ComponentScan("com.fxc.pojo")
@Import(NewConfig.class)
public class FConfig {
    @Bean
    public User getUser(){
        return new User("haha");
//        return null;
    }
}
